<!--
参考：第239集。
-->
<style>
    * {
        margin: 0;
        padding: 0;
    }
    li {
        list-style: none;
    }
    a {
        text-decoration: none;
    }
    .promo {
        position: relative;
        width: 520px;
        height: 280px;
        margin: 0 auto;
        background-color: cyan;
    }
    .promo img {
        width: 520px;
        height: 280px;
    }
    /* 通用的 */
    .prev,
    .next {
        position: absolute;
        top: 50%;
        margin-top: -15px;
        width: 20px;
        height: 30px;
        color: white;
        line-height: 30px;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.3);
    }
    .prev {
        left: 0;
        border-radius: 0 15px 15px 0;
    }
    .next {
        right: 0;
        border-radius: 15px 0 0 15px;
    }
    .promo-nav {
        position: absolute;
        bottom: 15px;
        left: 50%;
        margin-left: -15px;
        width: 70px;
        height: 10px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 5px;
    }
    /* 权重：10+1 */
    .promo-nav li {
        float: left;
        width: 8px;
        height: 8px;
        margin: 1px 3px;
        background-color: white;
        border-radius: 50%;
    }
    /* 权重：10+10 */
    .promo-nav .selected {
        background-color: orange;
    }
</style>

<div class="promo">
    <img src="../resources/pictures/promo.png" alt="焦点图">
    <a href="#" class="prev">&lt;</a>
    <a href="#" class="next">&gt;</a>
    <ul class="promo-nav">
        <li class="selected"></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
</div>